package cn.edu.csust.coursecard.dao;

import cn.edu.csust.coursecard.dao.entity.Advice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AdviceMapper {

    int insertSelective(Advice record);

    Advice selectByPrimaryKey(@Param("id") Integer id);

    List<Advice> selectAll();

    int deleteByPrimaryKey(@Param("id") Integer id);

    int deleteAll();

}